<?php
$url='https://music.163.com/discover/toplist';
 
$html= file_get_contents($url);

$toplist=strchr($html,'<textarea id="song-list-pre-data" style="display:none;">');
$toplist=strchr($toplist,'</textarea>',true);
$toplist=strip_tags($toplist);
echo $toplist;
?>